package com.ddstation.clinic_info.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ddstation.clinic_info.model.ClinicInfoModel;

public interface ClinicInfoMapper {
	
	/**
	 * 查询卫监所下属机构
	 * */
	public List<ClinicInfoModel> selectInstitutions(
            @Param("invsInstitutionId") String invsInstitutionId,
            @Param("institutionId") String institutionId,
            @Param("institutionName") String institutionName,
            @Param("underInvs") Integer underInvs,
            @Param("prescriptionInvs") Integer prescriptionInvs,
			@Param("institutionTypeFirst") String institutionTypeFirst);

	/**
	 * 查询卫监所下属机构(内网专用)
	 * */
	public List<ClinicInfoModel> selectInstitutionsIsInner(
			@Param("invsInstitutionId") String invsInstitutionId,
			@Param("institutionId") String institutionId,
			@Param("institutionName") String institutionName,
			@Param("underInvs") Integer underInvs,
			@Param("prescriptionInvs") Integer prescriptionInvs,
			@Param("institutionTypeFirst") String institutionTypeFirst);

	
	/**
	 * 查询1家机构 卫监登记实施FLG
	 * */
	public ClinicInfoModel selectInvsSettingsInfo(@Param("institutionId") String institutionId);

	/**
	 * 查询1家机构 卫监登记实施FLG(内网专用)
	 * */
	public ClinicInfoModel selectInvsSettingsInfoIsInner(@Param("institutionId") String institutionId);

}
 